package cn.bonoon.kernel.web.annotations.grid;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import cn.bonoon.kernel.support.entities.Persistable;

@Target(TYPE)
@Retention(RUNTIME)
public @interface DetailViewAuto {
	Class<? extends Persistable> entityClass();
	Class<?> detailClass();
	/**
	 * 缓存，即在第二次展开详细列的时候，不再重新加载数据
	 * @return
	 */
	boolean cached() default true;
}
